﻿using RpcSync.DAL;
using RpcSync.Model;

namespace RpcSync.Collect.Collect
{
    internal class SystemTypeCollect : ISystemTypeCollect
    {
        private IRemoteServerTypeDAL _SysTypeDAL;

        public SystemTypeCollect(IRemoteServerTypeDAL sysTypeDAL)
        {
            this._SysTypeDAL = sysTypeDAL;
        }

        public SystemType[] GetSystemTypes()
        {
            return _SysTypeDAL.GetSystemType();
        }
    }
}
